/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Certificate Packs
 * Certificate Packs
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Core.Annotation;

namespace  JDCloudSDK.Starshield.Apis
{

    /// <summary>
    ///  对于一个特定域，订购一个高级证书包
    /// </summary>
    public class OrderAdvancedCertificateManagerCertificatePackRequest : JdcloudRequest
    {
        ///<summary>
        /// 证书包的类型
        ///</summary>
        public   string Ty_pe{ get; set; }
        ///<summary>
        /// 以逗号分隔的证书包的有效主机名称列表。必须包含域的顶级域名，不得包含50个以上的主机，也不得为空。
        ///</summary>
        public List<string> Hosts{ get; set; }

        ///<summary>
        /// 为订阅选择的验证方法
        ///</summary>
        public   string Validation_method{ get; set; }
        ///<summary>
        /// 为订阅选择的有效日期
        ///</summary>
        public   int? Validity_days{ get; set; }
        ///<summary>
        /// 为该订阅选择的证书颁发机构。选择Let&#39;s Encrypt将减少对其他字段的定制。
        /// validation_method必须是&#39;txt&#39;，validity_days必须是90，cloudflare_branding必须省略，hosts必须只包含两个条目。
        /// 一个是域名，一个是域名的子域通配符（例如 example.com, *.example.com）。
        /// 
        ///</summary>
        public   string Certificate_authority{ get; set; }
        ///<summary>
        /// 是否为订阅添加星盾品牌。
        ///</summary>
        public   bool Cloudflare_branding{ get; set; }
        ///<summary>
        /// Zone_identifier
        ///Required:true
        ///</summary>
        [Required]
        public   string Zone_identifier{ get; set; }
    }
}